package com.martian.service;

import com.martian.pojo.dto.MovieQuestionsDto;
import com.martian.pojo.form.NewMovieQuestionFrom;
import com.martian.pojo.form.UserAnswerForm;

import java.util.List;

public interface QuestionService {
    List<MovieQuestionsDto> getMovieQuestions(Integer movieId,Integer num);

    Integer getRatingQualification(Integer userId,Integer movieId);

    Integer insertMovieQuestions(NewMovieQuestionFrom newMovieQuestionFrom);

    void insertUserAnswer(Integer userId,UserAnswerForm userAnswerForm);

    void updateUserAnswer(UserAnswerForm userAnswerForm);
}
